const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      "^/CAFP": {
        target: "http://218.7.112.123:10001",
        changeOrigin: true,//true表示允许跨域
        pathRewrite: {
          "^/CAFP": "/CAFP"
        }
      }
    },
  },

})
